package com.ecut.property_project.mapper.suite;

import com.ecut.property_project.model.suite.SuitePurpose;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface SuitePurposeMapper {
    int deleteByPrimaryKey(Integer purposeId);

    int insert(SuitePurpose record);

    int insertSelective(SuitePurpose record);

    List<SuitePurpose> selectAll();

    List<SuitePurpose> selectByPage(Integer page, Integer pageSize);

    SuitePurpose selectByPrimaryKey(Integer purposeId);

    List<SuitePurpose> selectByHeadId(String headId);

    int updateByPrimaryKeySelective(SuitePurpose record);

    int updateByPrimaryKey(SuitePurpose record);
}